<script>
function numToChineseNum(maxNum) {
    var rc = [];
    maxNum = maxNum || 10;
    // 基数
    var baseNum = { "1": "\u4e00", "2": "\u4e8c", "3": "\u4e09", "4": "\u56db", "5": "\u4e94", "6": "\u516d", "7": "\u4e03", "8": "\u516b", "9": "\u4e5d", "0": "\u5341" };
    // 特殊的基数
    var baseNum2 = { 10: "\u5341", 100: "\u4e00\u767e", 1000: '\u4e00', 10000: '\u4e00' };

    var rs,
      i,
      x,
      y;

    for (var a = 0; a < maxNum; a++) {
      rs = [];
      i = a + 1;

      if (baseNum2[i]) {
        rs.push(baseNum2[i]);
        rc.push(rs.join(''));
        continue;
      }

      if (i >= 10 && i < 20) {

        x = (i + '').split('');
        rs.push(baseNum2['10']);
        rs.push(baseNum[x[1]]);

      } else {

        x = (i + '').split('');

        for (y = 0; y < x.length; y++) {
          rs.push(baseNum[
            x[y]
          ]);
        }

      }

      rc.push(rs.join(''));
    }
    
    return rc;
  }

  console.log(numToChineseNum());

</script>